html {
  font-size: 10px; }

body {
  color: #333;
  background-color: #ecf0f1; }

/*���ϽǱ�����*/

.head {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 17px 0;
  width: 160px;
  height: 70px;
  color: #fff;
  text-align: center;
  background-color: #6a5cba; }
  .head > h1 {
    margin-bottom: 4px; }

/*��߹��ܷ�����*/

.top-nav-btn {
  cursor: pointer;
  display: none;
  position: fixed;
  top: 12px;
  right: 10px;
  z-index: 2;
  color: #6a5cba; }
  .top-nav-btn > .iconfont {
    font-size: 4rem; }

.top-nav {
  display: block;
  position: fixed;
  top: 70px;
  left: 0;
  z-index: 1;
  padding-bottom: 15px;
  width: 160px;
  height: calc(100% - 70px);
  color: #fff;
  background-color: #34495e; }
  .top-nav > li {
    padding-top: 10px;
    width: 100%;
    height: 60px; }
    .top-nav > li > a {
      cursor: pointer;
      position: relative;
      display: inline-block;
      padding: 17px 10px 17px 50px;
      width: 100%;
      height: 50px; }
      .top-nav > li > a:hover {
        background-color: #1e2b38; }
      .top-nav > li > a > i {
        position: absolute;
        top: 13px;
        left: 16px;
        font-size: 2.4rem; }
  .top-nav .active {
    color: #fff; }
    .top-nav .active > a {
      color: #8b80c9;
      background-color: #233342; }
      .top-nav .active > a > i {
        color: #8b80c9; }

/*�Ҳ�������*/

.wrap {
  margin-top: 70px;
  margin-left: 160px;
  width: calc(100% - 160px); }

.content {
  display: none; }

/*���ϲ����ݷ�����*/

.side-nav {
  position: fixed;
  top: 0;
  z-index: 999;
  left: 160px;
  width: 100%;
  height: 71px;
  background-color: #fff;
  border-bottom: 1px solid #e0e4e5; }
  .side-nav > li {
    display: inline-block;
    padding-top: 40px;
    padding-left: 40px;
    height: 70px;
    vertical-align: bottom; }
    .side-nav > li > a {
      cursor: pointer;
      display: block;
      padding-left: 5px;
      padding-right: 5px;
      height: 30px; 
	  white-space: nowrap;}
      .side-nav > li > a:hover {
        border-bottom: 3px solid #7a6ec2; }
  .side-nav .active > a {
    border-bottom: 3px solid #6a5cba; }

/*��������*/

.main {
  display: none;
  padding: 40px; }

.chartBlock {
  display: block;
  margin: 0 auto;
  width: 15vw;
  max-width: 240px;
  height: 15vw; }

.dialBlock {
  display: block;
  margin: 0 auto 15px auto;
  width: 100%;
  max-width: 480px;
  height: 240px; }

.imgBlock {
  margin: 0 auto 15px auto;
  width: 100%;
  max-width: 120px; }

.cameraBlock {
  display: block;
  width: 100%;
  max-width: 640px;
  border: 1px solid #e0e4e5; }

.panel-camera .panel-body .row{
  display: flex;
  align-items:center;
}

.cameraBtn {
  height:22vw;
  width: 100%; }
.cameraBtn td {
  padding: 0 1vw; }
.cameraBtn td > .btn-block {
  line-height: 30px; }
.cameraBtn .btn{
  padding:0.3vw 0;
}

.historyBtn {
  display: block;
  margin-right: 20px; }
  .historyBtn > li {
    display: inline-block;
    float: right;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    color: #aaa;
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: 0; }
    .historyBtn > li:hover {
      background-color: #eee; }
    .historyBtn > li:last-child {
      border-left: 1px solid #ccc; }

/* panel */

.panel {
  margin-bottom: 20px;
  color: #999;
  background-color: #fff;
  border: 1px solid #e0e4e5; }
  .panel > .panel-heading {
    padding: 6px 15px;
    font-weight: bold;
    line-height: 1.5em;
    border-bottom: 1px solid #e0e4e5; }
  .panel > .panel-body {
    padding: 15px;
    font-size: 1.4rem;
    line-height: 1.5em; }
    .panel > .panel-body p {
      margin-bottom: 15px; }

/* text */

.text-center {
  text-align: center; }

.float-right {
  float: right; }

.text-red {
  color: #e75d59; }

.text-green {
  color: #6a5cba; }

/* input */

.w150px {
  width: 10vw; }

.form-group:after,
.form-horizontal .form-group:after,
.panel .panel-body:after,
.historyBtn:after {
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both; }

.form-inline .input-group {
  display: inline-table;
  vertical-align: middle; }

.input-group-addon:last-child {
  border-left: 0; }

.input-group-addon {
  display: table-cell;
  padding: 0.5vw 0.5vw;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #555;
  text-align: center;
  white-space: nowrap;
  background-color: #eee;
  border: 1px solid #ccc; }

/* button */

.btn {
  display: inline-block;
  padding: 0.5vw 0.5vw;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent; }

.btn-default {
  color: #aaa;
  background-color: #fff;
  border-color: #ccc; }

.btn-default:hover {
  background-color: #f2f2f2; }

.btn-primary {
  color: #fff;
  background-color: #6a5cba;
  border-color: #5a4bb1; }

.btn-primary:hover,.btn-primary:active,.btn-primary:focus {
  border-color: #5a4bb1;
  outline: none !important;
  background-color: #5a4bb1; }

.btn-danger {
  color: #fff;
  background-color: #e75d59;
  border-color: #e44743; }

.btn-danger:hover,.btn-danger:focus,.btn-danger:active {
  outline: none !important;
  border-color: #e44743;
  background-color: #e44743; }

.btn-block {
  display: block;
  width: 100%; }

.btn-big {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 5em; }

/*�쳣����*/

.panel-report .form-group{
  margin-bottom: 15px;
}

/*id key mac��ַ���*/

.IDKEY .form-horizontal,.MAC .form-horizontal{
  margin: 40px 0;
}

/*�쳣����*/

.panel-report .panel-body .form-inline{
  height:15vw;
}

.panel-report .form-group{
  position:absolute;
  top:50%;left:50%;
  -webkit-transform: translate(-65%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap
}

/*��ά�����ɵ�����*/

.modal-dialog{
  width:380px !important;
  margin:100px auto;
}

#shareModalTitle{
  font-weight: bolder;
  color:red;
}

.qr-txt{
  line-height: 2vw;
}

.qr-txt2{
  font-size: 0.8vw;
  font-weight: 900;
  text-align: center;
}

#qrDiv{
  width:200px;
  height:200px;
  text-align: center;
  margin:2vw auto;
}
#updateTxt{
  /*margin:0 auto;*/
  position: relative;
  background-color: #eee;
  padding: 1vw;
  text-indent: 1vw;
  text-align: left;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
}
/*��ʱ������*/

#toast{
    display: none;
    z-index: 1000;
    position: fixed;
    left:50%;
    top:80%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    padding: 0.8em;
    text-align: center;
    background: #444;
    color:#efefef;
    border-radius: 5px;
    opacity: 0.8;
}
.down-body{
  position: relative;
  overflow: hidden;
}
.show-download{
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 8rem;
  height: 8rem;
  text-indent: -9999px;
  background: url('../img/downloadicon.png') no-repeat 17% 17% #228fbd;
  background-size: 2.5rem;
  border-radius: 100%;
  cursor: pointer;
  z-index: 10;
}

.download-qr{
  top:2vw;
  width:24vw;
}
#downloadModal .modal-dialog{
  width:26vw !important;
}
#photo-btn{
  color:#fff;
  background-image:url('../img/photo.png');
  background-repeat: no-repeat;
  background-position: 22% center;
  background-size: 18%;
}
/*.infrared{*/
  /*filter: grayscale(100%);*/
  /*-webkit-filter: grayscale(100%);*/
/*}*/
/*模态框确认退出*/
.back-modal .modal-dialog{
  transform: translateY(50%) !important;
  width:480px !important;
}

.back-modal .modal-header{
  border-bottom: none;
}

.back-modal .btn{
  width: 8vw;
}

.back-modal .modal-footer{
  border-top: none;
}

.back-text{
  font-size: 1.75vw;
  margin:20px auto;
  text-align: center;
}
#clear{
  display: block;
  margin: 0 auto;
}
/*ý���ѯ����Ļ�����750px����ʾ*/
@media (min-width: 1280px){
  .head h1{
    font-size: 16px;
  }
  .head small{
    font-size: 14px;
  }
}
@media (max-width: 750px) {
  .top-nav-btn {
    display: inline-block; }

  .top-nav {
    display: none;
    left: auto;
    right: 0;
    height: auto; }

  .wrap {
    margin-left: 0;
    width: 100%; } }
